import { IPSChartSeriesFunnel } from './ipschart-series-funnel';
import { PSDEChartSeriesCSNoneImplBase2 } from './psdechart-series-csnone-impl-base2';

export class PSDEChartSeriesFunnelImpl extends PSDEChartSeriesCSNoneImplBase2 implements IPSChartSeriesFunnel {
  get funnelAlign(): string {
    return this.M.funnelAlign;
  }

  get maxSize(): IModel {
    return this.M.maxSize;
  }

  get maxValue(): number {
    return this.M.maxValue;
  }

  get minSize(): IModel {
    return this.M.minSize;
  }

  get minValue(): number {
    return this.M.minValue;
  }

  get cls(): string {
    return 'PSDEChartSeriesFunnelImpl';
  }

  instanceof(cls: string): boolean {
    if (
      cls == 'IPSModelObject' ||
      cls == 'IPSObject' ||
      cls == 'control.IPSControlItem' ||
      cls == 'control.IPSControlItemNavigatable' ||
      cls == 'control.IPSControlObjectNavigatable' ||
      cls == 'control.IPSNavigatable' ||
      cls == 'control.IPSNavigateParamContainer' ||
      cls == 'control.chart.IPSChartSeries' ||
      cls == 'control.chart.IPSChartSeriesCSNone' ||
      cls == 'control.chart.IPSChartSeriesFunnel'
    )
      return true;
    return super.instanceof(cls);
  }
}
